package com.ruoyi.shuati.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shuati_question_bank
 *
 * @author ruoyi
 * @date 2024-06-03
 */
public class ShuatiQuestionBank extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String name;

    /** 状态 0代表开启状态 1代表删除状态 */
    @Excel(name = "状态 0代表开启状态 1代表删除状态")
    private Long status;

    /** 题库大分类字段 */
    @Excel(name = "题库大分类字段")
    private String bigType;

    /** 题库小分类字段 */
    @Excel(name = "题库小分类字段")
    private String smallType;

    /** 题库描述 */
    @Excel(name = "题库描述")
    private String describe;

    /** 考试日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examDate;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImage;

    /** 刷题用户id */
    @Excel(name = "刷题用户id")
    private String userId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setBigType(String bigType)
    {
        this.bigType = bigType;
    }

    public String getBigType()
    {
        return bigType;
    }
    public void setSmallType(String smallType)
    {
        this.smallType = smallType;
    }

    public String getSmallType()
    {
        return smallType;
    }
    public void setDescribe(String describe)
    {
        this.describe = describe;
    }

    public String getDescribe()
    {
        return describe;
    }
    public void setExamDate(Date examDate)
    {
        this.examDate = examDate;
    }

    public Date getExamDate()
    {
        return examDate;
    }
    public void setCoverImage(String coverImage)
    {
        this.coverImage = coverImage;
    }

    public String getCoverImage()
    {
        return coverImage;
    }
    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("bigType", getBigType())
            .append("smallType", getSmallType())
            .append("describe", getDescribe())
            .append("examDate", getExamDate())
            .append("coverImage", getCoverImage())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("userId", getUserId())
            .append("remark", getRemark())
            .toString();
    }
}
